xen/arm: acpi: Relax hw domain mapping attributes to p2m_mmio_direct_c
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 26 Jan 2017 13:16:02 +0000 (14:16 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 31 Jan 2017 22:14:29 +0000 (14:14 -0800)
commit5a44ff111d2e1ba9f375936294117ff4e263c4ac
treeede08bc04254d1089a6df86b775f82461cecb214
parenta24021e6644ad8ccacffa15cb3cb7ab1e8508e15
xen/arm: acpi: Relax hw domain mapping attributes to p2m_mmio_direct_c

Since the hardware domain is a trusted domain, we extend the
trust to include making final decisions on what attributes to
use when mapping memory regions.

For ACPI configured hardware domains, this patch relaxes the hardware
domains mapping attributes to p2m_mmio_direct_c. This will allow the
hardware domain to control the attributes via its S1 mappings.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/p2m.c
xen/include/public/memory.h